package com.pzhu.common.constant;

import java.math.BigDecimal;

/**
 * 通用常量信息
 */
public class Constant {

    public final static String CAPTCHA_KEY = "captcha";

    public final static String AUTHORITY_KEY = "authority";

    public static final String WX_DEFAULT_NAME = "WeChat User";

    public final static String DEFAULT_PASSWORD = "123456";

    public static final String LOGIN_FAIL_MSG = "用户名或者密码错误！";

    public static final String AUTHORITY_FAIL = "认证失败，请登录！";

    public static final String NOT_AUTHORITY = "权限不足，无法访问！";

    public static final String USERNAME_NOT_EXIT = "用户名不存在!";

    public static final String ACCOUNT_BAN = "该用户账号已被封禁，具体联系管理员!";

    public static final String LOGOUT_SUCCESS = "退出成功" ;

    public static final String LOGIN_SUCCESS = "登录成功";

    public static final String USER_UPDATE_SUCCESS = "用户更新成功！";

    public static final String TOKEN_NOT_EXIT = "Token不存在";

    public static final String TOKEN_CHECK_ERROR = "Token验证不通过";

    public static final String TOKEN_EXPIRE = "Token过期";

    public static final String SERIALIZE_FAIL = "序列化失败!";

    public static final String DESERIALIZE_FAIL = "反序列化失败!";

    //swagger
    public static final String SWAGGER_NAME = "曾秋虎";
    public static final String SWAGGER_URL = "http://www.pzhu.cn";
    public static final String SWAGGER_EMAIL = "3283886853@qq.com";
    public static final String SWAGGER_TITLE = "家政服务";
    public static final String SWAGGER_DESC = "家政服务的接口";
    public static final String SWAGGER_VERSION = "1.1.0";
    public static final String FORBIDDEN_BASEPKG = "com.pzhu.controller";


    public static final String FORBIDDEN_STATE = "1";

    public static final BigDecimal BASE_WAGE = new BigDecimal(1500);

    public static final BigDecimal BASE_STAR = new BigDecimal(1);

}
